﻿using Microsoft.Extensions.Caching.StackExchangeRedis;
using Volo.Abp.Modularity;

namespace Generic.Domain.Shared
{
    [DependsOn(typeof(Volo.Abp.Domain.AbpDddDomainModule),
        typeof(Volo.Abp.Caching.AbpCachingModule),
        typeof(Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule)) //采用Redis缓存)
    ]
    public class GenericDomainSharedModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<RedisCacheOptions>(options =>
            {
                //todo
            });
        }
    }
}